/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package pl.squeaky.mvc.model;

import org.eclipse.dltk.core.IMethod;
import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>IAction</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link pl.squeaky.mvc.model.IAction#getController <em>Controller</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IAction#getName <em>Name</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IAction#getView <em>View</em>}</li>
 *   <li>{@link pl.squeaky.mvc.model.IAction#getMethod <em>Method</em>}</li>
 * </ul>
 * </p>
 *
 * @see pl.squeaky.mvc.model.MvcPackage#getIAction()
 * @model
 * @generated
 */
public interface IAction extends EObject {
	/**
	 * Returns the value of the '<em><b>Controller</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link pl.squeaky.mvc.model.IController#getActions <em>Actions</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Controller</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Controller</em>' reference.
	 * @see pl.squeaky.mvc.model.MvcPackage#getIAction_Controller()
	 * @see pl.squeaky.mvc.model.IController#getActions
	 * @model opposite="actions" required="true" changeable="false"
	 * @generated
	 */
	IController getController();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIAction_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IAction#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>View</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>View</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>View</em>' reference.
	 * @see #setView(IView)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIAction_View()
	 * @model
	 * @generated
	 */
	IView getView();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IAction#getView <em>View</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>View</em>' reference.
	 * @see #getView()
	 * @generated
	 */
	void setView(IView value);

	/**
	 * Returns the value of the '<em><b>Method</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Method</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Method</em>' attribute.
	 * @see #setMethod(IMethod)
	 * @see pl.squeaky.mvc.model.MvcPackage#getIAction_Method()
	 * @model dataType="pl.squeaky.mvc.model.IMethod"
	 * @generated
	 */
	IMethod getMethod();

	/**
	 * Sets the value of the '{@link pl.squeaky.mvc.model.IAction#getMethod <em>Method</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Method</em>' attribute.
	 * @see #getMethod()
	 * @generated
	 */
	void setMethod(IMethod value);

} // IAction
